import os
os.environ['MODELSCOPE_CACHE'] = '/root/autodl-tmp/data/models'
from modelscope import  snapshot_download
model_dir = snapshot_download("Qwen/Qwen3-8B")